<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
         <link href="style/default.css" rel="stylesheet" type="text/css" />
         <title>
         	<h:outputText value="#{msgs.welcome}"/>
		 </title>
         <f:view locale="#{authenticationFrm.locale}"/>
         <f:loadBundle basename="br.utfpr.edu.language.pattern" var="msgs"/>
    </h:head>
 <body>
	<h:form id="Index">
	<div id="wrapper">
	<div id="wrapper-bgtop">
		<!-- start header -->
		<div id="header">
			<div id="logo">
				<h1><h:outputText value="#{msgs.applicationName}"/></h1>
				<h2><a href="http://www.utfpr.edu.br/cornelioprocopio"><h:outputText value="#{msgs.university}"/></a></h2>
			</div>
			<div id="menu">
				<ul>
					<h:commandButton actionListener="#{authenticationFrm.setLocaleEnUS}" image="/images/1.jpg" title="Inglês">
						&nbsp;
					</h:commandButton>
					<h:commandButton actionListener="#{authenticationFrm.setLocalePtBr}" image="/images/2.jpg" title="Português">
						&nbsp;
					</h:commandButton>
					<h:commandButton actionListener="#{authenticationFrm.setLocaleEsp}" image="/images/3.jpg" title="Espanhol"/>
         			<li class="active"><a href="log/log.faces"><h:outputText value="#{msgs.log}"/></a></li> 
					<p:commandLink style="active" id="downloadLink" value="#{msgs.manualSistema}" ajax="false"  actionListener="#{downloadFrm.FileDownloadController}" >  
    					<p:fileDownload value="#{downloadFrm.file}"/>  
					</p:commandLink> 
				</ul>
			</div>
		</div>
		<hr />
	</div>
</div>
	</h:form> 	
</body>
</html>

